package com.tianqingwl.gsystem.common.vo;

import java.util.List;

/**
 * ueditor 文件资源列表 vo
 */
public class FileResourcesResultVo {
    private String state;
    private List list;
    private Long start;
    private Long total;

    public static FileResourcesResultVo success(List list, Long start, long total) {
        FileResourcesResultVo resultVo = new FileResourcesResultVo();
        resultVo.setState("SUCCESS");
        resultVo.setList(list);
        resultVo.setStart(start);
        resultVo.setTotal(total);
        return resultVo;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public List getList() {
        return list;
    }

    public void setList(List list) {
        this.list = list;
    }

    public Long getStart() {
        return start;
    }

    public void setStart(Long start) {
        this.start = start;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }
}
